extends layout

block content
	-if(!user)
		.jumbotron
			.container
				h1 欢迎来到Weibo
				p Weibo是一个基于Node.js的微博
				p
				a(href="/login").btn.btn-primary.btn-lg(role='button') 登录
				a(href="/reg").btn.btn-success.btn-lg(role='button') 立即注册
	-else
	.container
		if(user)
			div.row
				div.well.col-md-12
					include say
					include reports
		.row
			.col-md-4
				h2 北斗说
				p 喜从天降
			.col-md-4
				h2 Wayne说
				p 路漫漫其修远兮，吾将上下而求索 
			.col-md-4
				h2 Jack说
				p Bright Day
		hr
	footer.footer
		.container
			.row
				.col-md-2.col-md-offset-2
					h5 友情链接
					a(href='http://www.ibm.com/developerworks/cn/java/', target='_blank') developerWorks®
					br
				.col-md-2
					h5 博客
					a(href='http://newday.iteye.com/') ITeye
					br
					a(href='http://blog.csdn.net/lchina1314', target='_blank') CSDN
					br
					a(href='http://hi.baidu.com/luckystreet', target='_blank') 百度
					br
					a(href='http://user.qzone.qq.com/506110230/') 空间
				.col-md-2
					h5 联系
					a(href='http://weibo.com/318280005', target='_blank') 新浪微博
					br
					a(href='http://t.qq.com/superstar_chen', target='_blank') 腾讯微博
					br
					a(href='https://plus.google.com/107273031820370586099', target='_blank') Google+
					br
					a(href='https://www.facebook.com/haixiang.chen', target='_blank') Facebook  
				.col-md-2.lovingly
					h4.wx-stamp
					| 微信关注
					span ♥
					div(style='margin-top: 10px;')
						img(src='http://6dgame.com/resources/images/img/webwxgetmsgimg.jpg', alt='WeChat', width='90px', height='90px')